package com.multiple.sources.core.servie.api;

import com.multiple.sources.core.bean.Tenant;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author limao
 * @since 2017-08-31
 */
public interface ITenantService  {
	Tenant findTenantByUserId(Long userId);
    int deleteByPrimaryKey(Long id);

    int insert(Tenant record);

    int insertSelective(Tenant record);

    Tenant selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tenant record);

    int updateByPrimaryKey(Tenant record);
}
